<%@ include file="/WEB-INF/jsp/include/taglibs.jsp"%>

<portlet:actionURL var="actionEdit">
	<portlet:param name="action" value="edit" />
	<portlet:param name="id"
		value="${bibliographicalCard.bibliographicalCardId}" />
</portlet:actionURL>

<form:form method="post" commandName="bibliographicalCard"
	action="${actionEdit}" enctype="multipart/form-data">
	<h1><spring:message code="bibliographicalCardEdit.title" /></h1>
	<form:errors path="*" cssClass="error" />
	<table>
		<tr>
			<td><spring:message code="bibliographicalCard.title" /></td>
			<td><form:input path="title" /><form:errors path="title"
				cssClass="fieldError" /></td>
		</tr>
		<tr>
			<td><spring:message code="bibliographicalCard.file" /></td>
			<td><input type="file" name="file" /></td>
		</tr>
		<tr>
			<td><input type="submit" class="button" name="save"
				value="<spring:message code="button.save" />" /></td>
			<td><input type="submit" class="button" name="cancel"
				value="<spring:message code="button.cancel" />"
				onclick="bCancel=true" /></td>
		</tr>
	</table>
</form:form>
